package id.net.iconpln.bb.client.model.secman;

import java.io.Serializable;
import com.extjs.gxt.ui.client.data.BaseModel;

public class MasterUserAccessBean extends BaseModel implements Serializable {

	String id_user;
	String nama_user;
	String id_group;
	String nama_group;
	String id_subgroup;
	String nama_subgroup;
	String disabled;
	String unit;

	public MasterUserAccessBean(){}
	public MasterUserAccessBean(String id_user, String nama_user, String id_group, String nama_group, 
			String id_subgroup, String nama_subgroup, String disabled, String unit)
	{
		setIduser(id_user);
		setNamaUser(nama_user);
		setIdGroup(id_group);
		setNamaGroup(nama_group);
		setIdSubGroup(id_subgroup);
		setNamaSubGroup(nama_subgroup);
		setDisabled(disabled);
		setUnit(unit);
	}
	

	public String getIdUser()
	{
		return (String) get("id_user");
	}
	public void setIduser(String id_user)
	{
		set("id_user", id_user);
	}

	public String getNamaUser()
	{
		return (String) get("nama_user");
	}
	public void setNamaUser(String nama_user)
	{
		set("nama_user", nama_user);
	}
	
	public String getIdGroup()
	{
		return (String) get("id_group");
	}
	public void setIdGroup(String id_group)
	{
		set("id_group", id_group);
	}

	public String getNamaGroup()
	{
		return (String) get("nama_group");
	}
	public void setNamaGroup(String nama_group)
	{
		set("nama_group", nama_group);
	}

	public String getIdSubGroup()
	{
		return (String) get("id_subgroup");
	}
	public void setIdSubGroup(String id_subgroup)
	{
		set("id_subgroup", id_subgroup);
	}

	public String getNamaSubGroup()
	{
		return (String) get("nama_subgroup");
	}
	public void setNamaSubGroup(String nama_subgroup)
	{
		set("nama_subgroup", nama_subgroup);
	}

	public String getDisabled()
	{
		return (String) get("disabled");
	}
	public void setDisabled(String disabled)
	{
		set("disabled", disabled);
	}

	public String getUnit()
	{
		return (String) get("unit");
	}
	public void setUnit(String unit)
	{
		set("unit", unit);
	}
}
